In This Topic
Sets the file attachment annotation icon.
The icon name defines the annotation's visual appearance. The library supports a predefined set of names (, , , ) for which standard appearance is created. When a custom name is used, a custom appearance must also be provided.
Syntax
public void setIcon(
java.lang.String
)
|
Parameters
- icon
- The name of the file attachment annotation icon.
Exceptions
| Exception | Description |
| java.lang.IllegalArgumentException | Thrown when the icon is null or empty. |
See Also